package com.fading.mall.member.feign;



import com.fading.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("wa-coupon")
public interface CouponFeign {

    @RequestMapping("/coupon/coupon/list")
    public R list(@RequestParam Map<String, Object> params);

    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupon();
}
